package com.youlai.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.system.model.entity.Permission;
import com.youlai.system.model.form.PermissionForm;
import com.youlai.system.model.vo.PermissionVO;

import java.util.List;

public interface PermissionService extends IService<Permission> {
    List<PermissionVO> listPermissions();

    Integer savePermission(PermissionForm formData);

    boolean deleteByIds(String ids);

    PermissionForm getPermissionForm(Long id);
}
